package com.lawyer.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *	微信推送实体类
 * @author D.Wzq
 * @since 2018-07-18
 */
@TableName("t_wechat_push_record_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WechatPushRecordInfo extends Model<WechatPushRecordInfo> {

    private static final long serialVersionUID = 1L;

	@TableId(value="wechat_push_record_id", type= IdType.AUTO)
	private Long wechatPushRecordId;
    /**
     * 推送内容
     */
	private String wechatPushContent;
    /**
     * 推送信息接收用户
     */
	private String wechatReceptionUser;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;

	public Long getWechatPushRecordId() {
		return wechatPushRecordId;
	}

	public void setWechatPushRecordId(Long wechatPushRecordId) {
		this.wechatPushRecordId = wechatPushRecordId;
	}

	public String getWechatPushContent() {
		return wechatPushContent;
	}

	public void setWechatPushContent(String wechatPushContent) {
		this.wechatPushContent = wechatPushContent;
	}

	public String getWechatReceptionUser() {
		return wechatReceptionUser;
	}

	public void setWechatReceptionUser(String wechatReceptionUser) {
		this.wechatReceptionUser = wechatReceptionUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.wechatPushRecordId;
	}

}
